<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>订单详情</title>
    <%@ include file="/pages/common/head.jsp"%>
</head>
<body>

<div id="header">
    <img class="logo_img" alt="" src="../../static/img/logo.gif" >
    <span class="wel_word">订单详情</span>
   <div> <a href="index.jsp">返回商城</a></div>
</div>

<div id="main">
    <table>
        <tr>
            <td>书名</td>
            <td>数量</td>
            <td>单价</td>
            <td>总价</td>
            <td>订单号</td>

        </tr>
        <c:forEach items="${requestScope.orderItems}"  var="item">
            <tr>
                <td>${item.name}</td>
                <td>${item.name}</td>
                <td>${item.price}</td>
                <td>${item.totalPrice}</td>
                <td>${item.orderId}</td>
            </tr>
        </c:forEach>

    </table>

</div>

<%@ include file="/pages/common/footer.jsp"%>
</body>
</html>